package jnpf.engine.enums;

/**
 * @author Doctor4JavaEE
 * @since 2024/7/2
 */
public enum FlowEventParameterEnums {
    FLOW_ID("@flowId","flow_template表id"),
    FLOW_FULL_NAME("@flowFullName","流程名称"),

    TASK_ID("@taskId","流程实例id"),
    TASK_NODE_ID("@taskNodeId","任务id"),

    TASK_FULL_NAME("@@taskFullName","流程标题"),

    LAUNCH_USER_ID("@launchUserId","发起人id"),
    LAUNCH_USER_NAME("@launchUserName","发起人Name"),

    FLOW_OPERATOR_USER_ID("@flowOperatorUserId","当前操作用户id"),
    FLOW_OPERATOR_USER_NAME("@flowOperatorUserName","当前操作用户name"),


    BUSINESS_MAIN_KEY("@businessMainKey","发起节点业务表主键id"),
    CURRENT_BUSINESS_MAIN_KEY("@currentBusinessMainKey","当前表业务表主键id"),
    START_FORM_DATA("@startFormDataBase64","发起节点表单数据Base64 post请求使用"),
    CURRENT_FORM_DATA("@currentFormDataBase64","发起节点表单数据Base64 post请求使用"),

    TASK_NAME("@taskName","节点名称"),
    TASK_DESCRIPTION("@taskDesc","节点说明"),
    TASK_DEFINITION_KEY("@taskDefKey","节点nodeId"),
    START_PARAMETERS("@startParameters","发起节点所有自定义的参数"),






    ;


    private String parameterName;
    private String parameterDesc;

    FlowEventParameterEnums(String parameterName, String parameterDesc) {
        this.parameterName = parameterName;
        this.parameterDesc = parameterDesc;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }

    public String getParameterDesc() {
        return parameterDesc;
    }

    public void setParameterDesc(String parameterDesc) {
        this.parameterDesc = parameterDesc;
    }

    /**

     {
     __config__: {
     label: '流程名称',
     required: true
     },
     __vModel__: '@flowFullName',
     },
     {
     __config__: {
     label: '任务标题',
     required: true
     },
     __vModel__: '@taskFullName',
     },
     {
     __config__: {
     label: '发起用户ID',
     required: true
     },
     __vModel__: '@launchUserId',
     },
     {
     __config__: {
     label: '发起用户名',
     required: true
     },
     __vModel__: '@launchUserName',
     },
     {
     __config__: {
     label: '当前操作用户ID',
     required: true
     },
     __vModel__: '@flowOperatorUserId',
     },
     {
     __config__: {
     label: '业务表主键信息',
     required: true
     },
     __vModel__: '@businessMainKey',
     },
     {
     __config__: {
     label: '当前操作用户名',
     required: true
     },
     __vModel__: '@flowOperatorUserName',
     */
}

